package online.cmagic.structureType.bridge;

/**
 * @author wsc
 * @date: 2020年04月14日 15:52
 * @since JDK 1.8
 */
public interface Brand {

    void sale();
}

class Lenovo implements Brand{

    public void sale() {
        System.out.println("销售联想电脑");
    }
}

class Huawei implements Brand{

    public void sale() {
        System.out.println("销售华为电脑");
    }
}

class Dell implements Brand{

    public void sale() {
        System.out.println("销售戴尔电脑");
    }
}


